package com.niiwoo.civet.user.service;

import com.niiwoo.civet.user.dto.request.RefreshSMSCodeRequestDTO;

/**
 * 用户短信API
 */
public interface UserSMSDubboService {

    /**
     * 创建短息记录
     */
    boolean createSMS(RefreshSMSCodeRequestDTO requestDTO);

    /**
     * 创建短信记录并返回验证码
     * @param requestDTO
     * @return
     */
    String createSMSAndReturnCode(RefreshSMSCodeRequestDTO requestDTO);

}
